package com.lyl.activiti.demo.listener;

import java.util.logging.Logger;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;

public class AfterScriptTask implements JavaDelegate {
private static final Logger log=Logger.getLogger(AfterScriptTask.class.getName());
	public void execute(DelegateExecution execution) throws Exception {
        log.info("in AfterScriptTask");
        log.info("sum="+execution.getVariable("sum"));
//        log.info("myVar="+execution.getVariable("myVar"));
	}

}
